//#include "send_packet_protocol_ex.h"

//namespace send_protocol
//{
//
//
//	extern std::ostream& operator<<( std::ostream& stream, req_login const& packet )
//	{
//		stream << packet.result;
//		stream << packet.unique_id;
//		return stream;
//	}
//
//	extern std::ostream& operator<<( std::ostream& stream, req_logout const& packet )
//	{
//		stream << packet.result;
//		return stream;
//	}
//
//	extern std::ostream& operator<<(std::ostream& stream, req_make_stage const& packet)
//	{
//		stream << packet.result;
//		stream << packet.stage_id;
//
//		return stream;
//	}
//
//	extern std::ostream& operator<<( std::ostream& stream, req_join_stage const& packet )
//	{
//		stream << packet.result;
//		stream << packet.team_id;
//		return stream;
//	}
//
//	extern std::ostream& operator<<(std::ostream& stream, req_leave_stage const& packet)
//	{
//		stream << packet.result;
//		return stream;
//	}
//
//	extern std::ostream& operator<<( std::ostream& stream, req_start_stage const& packet )
//	{
//		stream << packet.result;
//		stream << packet.player_count;
//		return stream;
//	}
//
//	extern std::ostream& operator<<( std::ostream& stream, req_update_stage const& packet )
//	{
//		for(size_t i=0; i<common_config::max_stage_player_count; ++i)
//			stream << packet.command[i];
//
//		stream << packet.frame_count;
//
//		return stream;
//	}
//
//	extern std::ostream& operator<<( std::ostream& stream, req_end_stage const& packet )
//	{
//		stream << packet.result;
//		return stream;
//	}
//
//}